package cn.tedu.cwgl.service;

import cn.tedu.cwgl.entity.Debt;
import cn.tedu.cwgl.entity.UserInfo;
import cn.tedu.cwgl.util.PageModel;
import cn.tedu.cwgl.util.Result;
import org.springframework.stereotype.Service;

import javax.servlet.http.HttpSession;

@Service
public interface DebtService {
    Result<Debt> getDebt(PageModel model);

    int addDebt(Debt debt, HttpSession httpSession);

    int deleteDebt(Debt debt);

    int updateDebt(Debt debt);


}
